const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  //代理跨域
  devServer: {
    proxy: {
      // 和上面自定义的 baseURL 保持一致
      '/api': {
        target: ' http://gmall-h5-api.atguigu.cn',
        // pathRewrite: { '^/api': '' },
      }
    }
  },
})
